#pragma once

class CTreeCtrl;
class CImageList;

class CTreeConfig
{
    CString mstrCur;
    CImageList * m_pIml;
public:
    CTreeConfig(CString str):mstrCur(str){}
    ~CTreeConfig(){};
    void OnCreate(CTreeCtrl& tree);
    void Show(CTreeCtrl& tree);

    //static std::map<HTREEITEM, sEdit>&MAP();
private:
    void Recursion(CTreeCtrl& tree, HTREEITEM hCur, CString str);
    void CallBack(CTreeCtrl& tree, HTREEITEM hSelf, CString str);

};